GtkColorButton: Update deprecation warnings
authorMatthias Clasen <mclasen@redhat.com>
Fri, 2 May 2014 22:41:29 +0000 (18:41 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 2 May 2014 22:41:29 +0000 (18:41 -0400)
It is not great to have deprecation warnings point to another
deprecated function. Update them to point to the eventual
replacement.

gtk/gtkcolorbutton.h

index 85c627aa6a544156691173889a296401a409c562..08b468d2982250cfcf071a026a021b335678ee99 100644 (file)
@@ -85,16 +85,16 @@ const gchar *gtk_color_button_get_title     (GtkColorButton *button);
 
 GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_new_with_rgba)
 GtkWidget *gtk_color_button_new_with_color (const GdkColor *color);
-GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_set_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba)
 void       gtk_color_button_set_color      (GtkColorButton *button,
                                             const GdkColor *color);
-GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_get_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_rgba)
 void       gtk_color_button_get_color      (GtkColorButton *button,
                                             GdkColor       *color);
-GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_set_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba)
 void       gtk_color_button_set_alpha      (GtkColorButton *button,
                                             guint16         alpha);
-GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_get_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_rgba)
 guint16    gtk_color_button_get_alpha      (GtkColorButton *button);
 GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_use_alpha)
 void         gtk_color_button_set_use_alpha (GtkColorButton *button,